// @flow
import React from 'react'
import Logo from 'components/Logo'
import Nav from 'components/Nav'
// import Bell from 'components/Bell'
import GlobalSearch from 'components/GlobalSearch'
import Notify from 'components/notify'
import GlobalBOM from 'components/GlobalBOM'
import ProfileAvatar from 'components/ProfileAvatar'
import styles from './Header.css'
type Props = {
  history: Object
}
export class Header extends React.Component {
  props: Props
  render () {
    return (
      <div className={styles['header']}>
        <Logo src='/shangu_logo1.png' />
        <div className={styles['split']} />
        <Nav />
        <div className={styles['split']} />

        <div className={styles['right']}>
          <GlobalSearch />
          <div className={styles['split']} />
          <Notify />
          <div className={styles['split']} />
          <ProfileAvatar />
          <div className={styles['split']} />
          <GlobalBOM />
        </div>
      </div>
    )
  }
}

export default Header
